#include <STDIO.H>
#include "lcd1602.h"
#include "ds1302.h"

void main()
{

	
	LCD_Init();
	DS1302_Init();

	LCD_ShowString(1,1,"20  -  -  ");
	LCD_ShowString(2,1,"  :  :  ");
	
    Set_Time(); 
	
	while(1)
	{
		Start_Time();
		
		LCD_ShowNum(1, 3,arr_Time[6] , 2);
		LCD_ShowNum(1, 6,arr_Time[4] , 2);
		LCD_ShowNum(1, 9,arr_Time[3] , 2);

		LCD_ShowNum(2, 7,arr_Time[0] , 2);
		LCD_ShowNum(2, 4,arr_Time[1] , 2);
		LCD_ShowNum(2, 1,arr_Time[2] , 2);
	}
}